.row
  .small-12.columns.top-blank
    table class="projectsort"
      thead
        tr
          th 用户
          th width="70%" 内容
          th 项目
          th 操作
      tbody
        - @project_messages.each do |message|
          - project = message.post_project
          - post_user = message.post_user
          tr 
            td
              a href="/users/#{post_user.id}" target="_blank" #{post_user.name}
            td #{message.message}
            td
              a href="/projects/#{project.id}" target="_blank" #{project.name}
            td
              = link_to '回复', admin_message_path(message.id)
              - if !message.isshow
                button.small.message_update data-uri=verify_admin_message_path(message.id) data-confirm="确认审核?" 审核
              button.small.message_destroy data-uri=admin_message_path(message.id) data-confirm="确认删除?" 删除
      tfoot
        tr
          td colspan="5"
            = paginate @project_messages
